// 完善信息
import { Http } from "../utils/http";

class CompleteInfor extends Http {
  constructor(props) {
    super(props);
  }

  // 查询可选择小区，楼号，单元，楼层，房间号等
  userInfoAddress(data) {
    return this.request({
      url: `/mini/userInfo/address`,
      method: "get",
      data: data,
    });
  }

  // 门禁照
  userCheckPic(data, header) {
    return this.request({
      url: "/mini/user/checkPic",
      method: "post",
      header,
      data: data,
    });
  }

  //完善信息保存
  userInfoSaveOrUpdate(data) {
    return this.request({
      url: "/mini/userInfo/saveOrUpdate",
      method: "post",
      data: data,
    });
  }
}

export default CompleteInfor;
